package com.rivercloud.dao;

import java.util.List;

import com.rivercloud.entity.Project;
import com.rivercloud.entity.User;
import com.rivercloud.entity.UserProject;

public interface UserDao {

	int findIdByName(String userName);

	void addUser(User user);

	User userLogin(User user);
	
	User findUserById(int userId);

	List<User> findAllUser();

	List<User> findUserByIds(List<Integer> list);

	User checkUserName(String userName);
	
	List<User> query_user_role_permission_all2(UserProject userProject);
	List<User> query_user_role_permission_all1(Integer userId);

	void changePassword(User user);


	
	
	

}
